import Vue from 'vue'
import Vuex from 'vuex'
import state from './state.js'
import mutations from './mutations.js'
import actions from './actions.js'
// import mixin from './mixin.js'
// import vuexPersist from "vuex-persist"
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions,
  // plugins:[
  //   new vuexPersist({
  //     storage:window.localStorage,
  //   }).plugin,
  // ],
});
